home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9964 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: softsite.co.at!wsog
  2. Date: 05 Mar 1996 11:37:00 +0100
  3. From: wsog@softsite.co.at (Walter Sommergruber)
  4. Newsgroups: comp.lang.c++
  5. Message-ID: <64HeovHrnTB@softsite.co.at>
  6. References: <3135A7F2.2120@hiwaay.net> <4hbiln$899@sam.inforamp.net>
  7. Subject: Re: Leap year
  8. X-Newsreader: XP v3.02
  9. X-Charset: ISO-8859-1
  10. Organization: Sommergruber Software & Dienstleistungen
  11.  
  12. Randy Charles Morin  (rmorin@inforamp.net) wrote on 03.03.96
  13. about "Re: Leap year":
  14.  
  15. > >Can someone be kind enough to post the formula for Leap Year
  16. > >or point me to the place where this can be found?
  17. >
  18. > bool IsLeapYear(int x)
  19. > {
  20. >     return ((x&4) && ((!(x&100)) || (x&1000)));
  21. > }
  22. >
  23. > I hope I got everything right.
  24.  
  25. DAMN! One person asks a question (which is in the FAQ of course),
  26. 3 answer the question right and 97 post nonsense like the above -
  27. WHY DON'T YOU TAKE A LOOK INTO THE FAQ BEFORE POSTING ?????
  28.  
  29. I really don't understand it...
  30.  
  31. ---                                     Take a look at ...
  32. Walter Sommergruber                                    The Software Site
  33. email: wsog@softsite.co.at           http://www.softsite.co.at/softsite/
  34.